Which statement correctly describes the function of a human lung?

It takes in carbon dioxide and releases oxygen.

It produces oxygen.

It filters carbon dioxide from the air.

It takes in oxygen and releases carbon dioxide.