Many research is aimed at improving municipal solid waste disposal and producing usable energy. Pyrolysis technology not only decreases the volume of municipal solid waste, but it also produces pyrolysis oil, pyrolysis gas, and carbon, all of which have a high calorific value and are widely used in industrial activities. This article focuses on the plant-based pyrolysis of municipal solid waste and automotive plastic trash. The research also discusses the pyrolysis energy potential of municipal solid waste components such as plastics, biomass, rubber, and plastics. The energy potential of plastic waste from vehicle components was also investigated in this study, which used thermogravimetric and elemental analysers. According to the findings of the examination of the most common plastic waste from automobiles, it is possible to determine the potential treatment of this waste by pyrolysis. By analyse municipal solid waste, it was discovered that waste treatment by pyrolysis might lower the environmental load in Slovakia in the future, ensuring a greater quality of life, inexpensive and sustainable energy for humanity, and strengthening waste treatment innovation.