The organic compound that is used for stored chemical energy and contains carbon, hydrogen, oxygen, and often phosphorous is called lipid.
Lipids are molecules which consist of fats, waxes, and other things and their function is to store energy, and make up cell membranes.