In AlCl3, the number of electrons around the central atom Al is six and thus it has a strong tendency to accept a pair of electrons from halogen atom into its vacant p-orbital by coordinate bond, i.e. metal atom complete its octet by forming dimers.