I am currently learning both about operator algebras and algebraic geometry. It seems as though in these 2 subjects (and many more I've come across from online reading), there is a strong notion of equivalence between geometric spaces and algebraic things (typically rings/modules over certain types of functions) (e.g. Gelfand Theorem, Affine Spaces with their suitable ring of normal functions, Serre-Swan etc). My question is if there is any more general theory in which these types of dualities between geometric spaces (or objects: vector bundles ~ modules) and algebraic structures coming from things on those spaces, are special cases?
p.s. I don't know the relevant tags for this question, so feel free to edit