This paper presents the results of an experimental study of the emission levels of selected greenhouse gases (CO2, CH4, NOx) arising from the combustion of different forms of biomass, i.e., solid biomass in the form of pellets and liquid biomass in the example of engine biofuel (biodiesel). Both types of biomass under study are rape-based biofuels. The pellets are made from rape straw, which, as a waste product, can be used for energy purposes. Additionally, biodiesel contains rape oil methyl esters (FAME) designed to power diesel engines. The boiler 25 kW was used to burn the pellets. Engine measurements were performed on a dynamometer bench on an S-4003 tractor engine. An analyzer Testo 350 was used to analyze the exhaust gas. CO2 emission studies do not indicate the environmental benefits of using any alternative fuels tested compared to their conventional counterparts. In both the engine and boiler tests for NOx emissions, no environmental benefits were demonstrated from the use of alternative fuels. The measured average NOx emission levels for biodiesel compared to diesel were about 20% higher, and for rapeseed straw pellets, they were more than 60% higher compared to wood pellets. Only in the case of engine tests was significantly lower CH4 (approx. 30%) emission found when feeding the engine with rape oil methyl esters.