The ritual of involving salt and limes to shots of tequila started in the late 19th century because the taste of cheap tequila (which was being mass-produced at the time) was so god awful they needed a way to cope with it.