ritual: stereotyped behavior
habit: (psychology) an automatic pattern of behavior in reaction to a specific situation; may be inherited or acquired through frequent repetition
pharaoh ant: small red ant of warm regions; a common household pest