In essence, $f(\Bbb Z) \subset \Bbb Q$, where $f$ is an isomorphism. $f(a)=\frac{a}{1}$. It maps $\Bbb Z$ to its fraction field $Q$. The elements of $Q$ are equivalence classes. I wonder why accepting $\Bbb Z \subset \Bbb Q$ does not cause contradictions since it violates set theory. What exactly is the function of isomorphism? Do I need more tools to fully understand it?
@Ned clarified my thoughts, I am curious about the relation between subset and embedding. Embedding can be viewed as subset sometimes. Why it does not cause contradictions?
I added an example to make my question clearer. Many books prove $R[X]$ over a UFD is a UFD using a lemma (see http://people.math.binghamton.edu/mazur/teach/gausslemma.pdf --Theorem 3.). But $f \in R[X]$ means it can never be an element of $R$ or $K[X]$(the polynomial ring over the fraction field of $R$).