How do bony fish obtain energy?

eat,drink,sleep,etc