The function of riser is

A.to provide an opening through which molten metal is poured
B.to give an indication that mould is filled
C.to allow the heat of molten metal to dissipate to atmosphere
D.to supply molten metal to casting as it tends to contract during solidification