EQ is short for equalisation and, as the name suggests, it was originally used to equalise recordings or compensate for recording inaccuracies. This is was in the days when recording equipment was known to have shortcomings and EQ was used to compensate for their deficiencies.