In the present study, pine wood and sugarcane straw were chosen to represent the biomass classes of forest and agricultural residues. Lignocellulosic biomasses were submitted to slow and fast pyrolysis in an experimental-scale laboratory unit at temperatures ranging from 400 to 600 °C. The solid (biochar) and liquid (bio-oil) products were characterized, and physicochemical properties and chemical composition were analyzed. Experimental results revealed significant differences depending on the biomass type and the pyrolysis conditions. An increasing in heating rate and pyrolysis temperature led to higher liquid phase yields and enhanced higher heating values of the solid phase. Proximate analysis of biochar showed notable variations in moisture, ash, volatile matter and fixed carbon contents, while infrared spectroscopy indicated differences in functional groups. Bio-oil analyses showed similar water content and acid values across the investigated conditions, indicating limited sensitivity to process parameters, although significant differences were observed among biomass types. Elemental analyses covered metals, as alkaline and alkaline earth elements, as well as Cl, P and S. Results demonstrated that some elements remained in higher concentrations in biochar, being Al, Ca and, K the predominant inorganic constituents. In contrast, bio-oil presented lower concentration of elements, with Al and S as the major contaminants.