###### Abstract
Fatty acids after reaction with diols and dithiols produce polymers intended for medical applications, such as drug delivery systems, tissue engineering, or temporary implants [5]. As described above, many new non-porous polymers based on terpen or vegetable oils have been obtained and found useful for practical applications [3; 5]. However, to the best of this author's knowledge, there is still little space in the literature dedicated to the topic of using such substances in the synthesis of porous polymers for purification and separation processes [20]. This opens up another perspective for completely new applications of terpene compounds and vegetable oils as substrates for the synthesis of porous materials. Polymer sorbents are widely used in separation and purification techniques due to their many advantages, such as well-developed surface area and thermal resistance, and chemical resistance, including not only organic solvents but also solutions with low or high pH. An additional advantage is also the great possibility of adjusting the porosity or chemical structure of the surface to specific needs. For this reason, many synthetic polymers, such as polystyrene-divinylbenzene, N-vinylpyrrolidone-divinylbenzene, and methacrylate-divinylbenzene, polyamides, are in common commercial use as column and cartridge fillers in chromatography and solid phase extraction techniques, for the determination of analytes from various types of matrices, such as natural water, sewage, biological material (blood, urine, etc. ), or food and beverages [21; 22; 23]. Among the compounds that have been subjected to constant monitoring for many years are phenols and their derivatives [24; 25]. These compounds, found as anthropological origin impurities in drinking water, give water an unpleasant characteristic smell and spoil its taste. In addition, di- and tri-substituted chlorophenols can bioaccumulate and pose a serious threat to aquatic organisms, and consequently also to humans [26]. Drugs are another group of compounds of analytical interest. In this case, the research has developed in many directions and includes, for example:  
* Testing biological samples to determine the presence or bioavailability of drugs, or the presence of their metabolites when determining the tracks and speed of their metabolism in the body as well as in drug delivery systems [27; 28],
* Isolating drugs from pills during quality control or disposal [29],
* Testing food products, water, and sewage for the presence of drugs or their derivatives [30; 31; 32; 33; 34]. The aim of this work is to present the method of using unsaturated substances of natural origin in the synthesis of porous polymer microspheres. These newly synthesized polymers can be considered as alternative bio-based, sustainable, or semi-green sorbents, in the synthesis of which some of the petroleum-derived monomers, for example, very popular styrene, have been replaced with substances of natural origin such as terpen or vegetable oils. The obtained materials were characterized by infrared spectroscopy and chemical analysis to confirm the assumed course of the reaction. Porous structure parameters were defined with low-temperature nitrogen sorption measurements. The thermal properties were studied using thermogravimetry (TG) and differential thermogravimetry (DTG) techniques. In order to evaluate the potential practical applications of the obtained polymers, preliminary studies of sorption properties using the method of dynamic solid phase extraction were carried out. In the first stage of the research, phenol and three of its chlorinated derivatives were used as test compounds. The obtained results were satisfactory with recoveries up to 90% (for 2,4 dichlorophenol) achieved for three polymers: C-DVB, L-DVB, and Ro-DVB. This prompted tests for other biologically active compounds, such as nonsteroidal anti-inflammatory drugs (aspirin, ibuprofen, paracetamol), salicylic acid, and antibiotic (ampicillin).