The present application relates to a series of substituted pyrazolo[1,5-a]pyridine compounds, their use as tropomyosin receptor kinase (Trk) family protein kinase inhibitors, method of making and pharmaceutical compositions comprising such compounds.