In "Plants vs. Zombies", the player takes on the role of a homeowner in a suburban neighborhood who must defend their house from zombies with the help of various plants. The game is divided into several levels, each taking place in a different location around the house. The player must plant various types of plants, each with their own unique abilities, to defend against waves of zombies that approach from the right side of the screen.