Tar can be made by heating suitable organic material in low oxygen, but it is not a sensible home experiment. It involves fire, smoke, fumes, hot sticky liquids, and possible toxic by-products.
It is possible in principle to make tar outside modern industry. People did it for thousands of years using controlled heating methods, local materials, and practical experience. That history is fascinating, but it should not be confused with a casual garden project.
Tar-making involves several hazards at once. Fire can escape. Smoke can be dense and unpleasant. Vapours may ignite or irritate. Hot tar can stick to skin and burn badly. The resulting material may be contaminated or chemically unknown. Producing useful tar also requires more skill than simply burning wood in a drum.
For those reasons, this site should treat home tar-making as a historical and educational subject rather than a how-to recipe. It is safer to study old tar kilns, museum reconstructions, and archaeological research than to improvise with heat and sealed containers.
If someone needs pine tar for a craft project, buying a labelled product made for that use is the sensible route. Knowing how tar was made is valuable. Making it without the right setting is another matter.