First, the references cited by KConrad above are unduly neglected/obscure... while answering the question as it stands.

Also, as Mrc Plm's answer, quite literally the adeles are a colimit of products.

Third, indeed, one can (successfully) abstract the "restricted-product topology" (again, as KConrad notes, not "restricted product-topology", but the other grouping), _BUT_ what is not clear is what the point of that would be, I think. That is, apart from discussion of adeles, ideles, adelizations of reductive groups over global fields, and their repn theory, there are not many examples of naturally-occurring "restricted products". Thus, although, if we persevere, we can abstract the notion, after having done so we do not have revelations about how these things were all around us but merely un-named. :)

That is, the notion of "restricted product" is reasonably perceivable as a bit of a let-down, since it _explains_ little.

I find it an interesting rhetorical question "Do adeles occur in nature?", as opposed to "can we construct/axiomatize" them, or "are they useful?" A simpler analogue is the p-adic integers $\mathbb Z_p$ which, although eminently constructible as a completion of $\mathbb Z$, one could ask _why_ make that metric, ... considering that it takes some thought to verify that it is a metric at all, and, then, why complete? That is, by now, to say that $\mathbb Z$ is the (projective) limit of $\mathbb Z/p^n$ is more persuasive to me of the occurring-in-nature aspect.

Similarly, the "solenoids" made by taking limits of $\mathbb R/N\cdot \mathbb Z$ have a limit which is arguably a natural object. When we already have $\mathbb Q_p$ in hand, we can exhibit an action of $\mathbb Q_p$ on this solenoid. Honest investigation of how close we can come to making the genuine product of p-adics act leads to the restriction appearing in the blunt definition of adeles. In various logical sequences, one finds that the solenoid is $\mathbb A/\mathbb Q$. In this setting, the _compactness_ of the quotient is immediate, since (Tychonoff) limits of Hausdorff compacts are compact. 

That is, one can "discover" much of the "restricted product" notion by trying to write the solenoid as a quotient by $\mathbb Q$ of something that has an action of $\mathbb R$ and all the $\mathbb Q_p$'s on it, etc. 

That is, it is possible to give some sense of _inevitability_ to these notions perhaps better than merely giving the definitions.