Frankincense and myrrh are derived from the hardened resin of desert-dwelling plants. The resin gets its aroma from antibacterial chemicals meant to protect the plant from infection.