By the late 18th century, scientists recognized the difference between elements and compounds and sought to understand the principles governing chemical reactions. Understanding how elements combine was crucial for advancing knowledge in chemistry and related fields.