Ender dragons primarily eat Endermen, but they will also consume other creatures if they are available.