This document provides an overview of wireless sensor networks. It discusses what sensor networks are and their applications in areas like military, industry, science and more. It describes the constraints of sensor networks like limited battery power, storage and processing. It outlines several research challenges in sensor networks including energy efficiency, scalability, heterogeneity and self-configuration. The document also discusses various layers in the sensor network protocol stack from the physical layer to the application layer and highlights issues at each layer.