Photosynthesis is the process in which sunlight is used up, in order to generate glucose for carrying out the required metabolism of the body, this process is chiefly used by plants and sun is their source of energy.
However many animals like corals and algae use sunlight to produce glucose, similarly other animals from sponges to sea slugs use the same process to fulfill body requirements. Some other reports suggest that aphids are same creatures who utilize the same trick. All of these have something in common i.e. no backbone.
Recently, it has been found that some species of salamander are solar powered, which absorbs light and converts it into glucose and releases oxygen.