It's a tower defence game, in essence. Zombies stagger across the garden towards your house. Plants act as turrets while collecting energy from the sun allows you to build more plant-turrets.
Like most tower defence games, it's ridiculously simple yet caters for just enough strategy to be worthwhile and highly addictive.
Plants Vs Zombies [Popcap]