Seems like there is a simple distinction:
Science is the pursuit of knowledge (using math, logic, and reasoning to obtain knowledge).
Engineering is the practice of applying a process to create something (either concerete or abstract--like software).
Sometimes you must perform science before you can engineer. Other times engineering is necessary before science.