One of the primary functions of olive oil in the body is to provide energy. Olive oil is a type of fat, and like all fats, it is a source of calories that the body can use for energy. While other nutrients like proteins, carbohydrates, and vitamins are also important for the body, olive oil is primarily a source of energy.