The modern world dictates the use of clean and inexhaustible energy. One of many options is the use of shallow geothermal energy. This energy is stored in the form of warmth under the Earth's surface to 300 or 400 meters of depth. We exploit it with the help of geothermal heat pumps. Those strip the warmth out of the underground water in the case of water-water, or it strips the warmth in the case of earth-water and exploits it to the object where it warms the places. For the deprivation of water open-loop and closed-loop systems are needed. In the case of underground water pumping a well is used that works like an open system, in which the main parts are two holes. One is used to pump water and other for returning of the used water back into the source. In case of dispossession of the heat out of the rocks earth panels are built-in borehole collectors or horizontal collectors. By the deciding for the manner of gathering it is important to consider the situation in the nature (are there any wells, aquifers, lakes or streams), is there enough space to do an excavation, is there access for excavating a hole, is the earth moderate enough for the excavation and so on. The course of the transition of the heat is happening in the heat pump through its component parts. The refrigerant, that took the heat, travels through the evaporator, compressor and condenser, where its state of matter is changed, it ends in an expansion valve, where it cools down so it can begin to start stripping the heat again. The process repeats itself. The produced energy is used for heating, cooling, ventilation and air-conditioning of rooms, also in production processes. In the final part there is a description of the performance of holes used for the use of underground water or the heat of earth. In the first example there are given the characteristics of reservoirs, the process of installing a well, installation of pipes and the tools used during the process. The second example is based on the performance of the hole for borehole collector. Those projects provide realistic parameters and calculations.