Which sentence is in active voice?

The cake is eaten.
The cake was being eaten.
The dog ate the cake.
The cake has been eaten.