Why do all plants contain chlorophyll?

Chlorophyll is a pigment that makes photosynthesis in the plant and without photosynthesis there would be no glucose, oxygen, and water from the plant and the plant would ultimately die