How do cells obtain energy?

Through the midochondrion and chloroplasts