Pecking is the only way a chick has to get feedback information about its world. If you put a sheet of white copy paper with a single dot or period on it in the brooder, newly hatched chicks will repeatedly peck the period or dot just to find out if its good to eat.
When they peck you they...