An old saying, perhaps originally by Sir Francis Bacon (1561-1626), described mathematics as "the handmaiden of science". The rise of statistics as a discipline supporting much scientific endeavour in the twentieth century meant that this term was often seen as particularly applicable to statistics. Starting with the work of Sir Ronald Fisher (1890-1962), who revolutionised agricultural experimentation, the statistician was there to make sense of the masses of data that was being produced by scientists. This is the model that is usually taught to students of statistics.
It is worth asking whether this is really the most appropriate model - should statisticians serve, should they be equals or should they lead? As always, the answer depends upon the context and upon the individual. But it is worth noting that the work of Fisher demonstrated the need for statisticians to plan science - his designs for agricultural experiments made that area of science many times more productive by exploring several factors at once.