Bacteriorhoopsin is a protein used by archaea, most notably halobacteria. It acts as a proton pump, i.e. it captures light energy and uses it to move protons across the membrane out of the cell. The resulting proton gradient is subsequently converted into chemical energy.