I've seen many derivations in which Integration is used. But I don't understand the fact that why after going to a distance like $y$ or $x$, we take an element $dy$ or $dx$? Instead can't we take any other element of a different width say $d\theta$ after going to $y$?
What does this mean?