That's a pretty big question to ask to be honest dude, especially with different manufacturers putting things together differently
generally speaking, if you dunno what to do with a part you have, but you know what part it is, google to try and find out about it
but asking for an overview of the whole maintenance side of a bike is a big thing