It depicts a dystopian future in which reality as perceived by most humans is actually a simulated reality called " the Matrix " , created by sentient machines to subdue the human population , while their bodies ' heat and electrical activity are used as an energy source .