What are chloroplasts and what function do they have?

What are chloroplasts and what function do they have?