Alkylation is the addition of alkyl groups to molecules, often by alkylating agents such as alkyl halides. 
Alkylating antineoplastic agents are a class of compounds that are used to treat cancer. In such case, the term alkyl is used loosely. For example, nitrogen mustards are well-known alkylating agents, but they are not simple hydrocarbons.
In chemistry, alkyl is a group, a substituent, that is attached to other molecular fragments. For example, alkyl lithium reagents have the empirical formula Li(alkyl), where alkyl = methyl, ethyl, etc. A dialkyl ether is an ether with two alkyl groups, e.g., diethyl ether .