In an electrochemical series, all metals above hydrogen in the acitivity series will displace hydrogen form an acid .
Here, Ca, Al and Zn are placed above hydrogen hence these metals can displace hydrogen , whereas , Hg placed below the hydrogen. So, it does not displace hydrogen from an acid.