All SQL statements need to be compiled by SQL Server before they are executed. Compiling is the process by which SQL Server converts the SQL statement into an executable query plan.
Under certain circumstances, SQL Server will re-compile SQL statements. Recompiling can consume a large amount of CPU and can degrade performance.
Good coding practices such as using Stored Procedures and parameterizing queries can help to reduce recompiles.