Hi Lalala! I think you mean 'derive from', right?
To 'derive from' has 2 meanings. In physical chemistry, 1 material can be derived from another. For example, gelatin is 'derived from' cow bones. The meaning is that if you process 1 material, it can give you another; a 'derivative'.
The second meaning is for when we talk about ideas. Here 'derive from' means 'taken from' or 'influenced by'. For example, you could say a design for a dress was derived from the experiences of the designer.
'Obtain from' is more literal, and it means 'to take something from'. For example, I could obtain some products from a company (by buying them).
So let's summarise:
'Derive from' + 'obtain from' mean the same thing in terms of physical chemistry.
'Derive from' also has a meaning to talk about ideas. 'Obtain from' does not.