How is musk oil produced?

It's originally from Musk Deer genital glands, but can also come from plants with similar aromas and artificial fragrances.