What is a 9 pin serial connector used for?

a 9-pin serial port used to be used a a very large network connection via a null cable be for and after coxail netowrking and ethernet cabling... It was also used for Mouse and some minor peripherials device of input and som output devces... long long ago in a desktop far awa :) lol I feel old awnsering this one..