Which of the following is an example of convection?

a a hot object transferring heat to a cooler one

b the rays of the Sun warming the earth

c a hot oven warming the air around it

d hot air rising and cooler air falling