A router is a computer networking device that buffers and forwards data packets across an internetwork toward their destinations, through a process known as routing. Routing occurs at layer 3 (the Network layer e.g. IP) of the OSI seven-layer protocol stack.
http://en.wikipedia.org/wiki/Router
1)A switch is a device for changing the course (or flow) of a circuit. The prototypical model is a mechanical device (for example a railroad switch) which can be disconnected from one course and connected to another. The term "switch" typically refers to electrical power or electronic telecommunication circuits. In applications where multiple switching options are required (e.g., a telephone service), mechanical switches have long been replaced by electronic variants which can be intelligently controlled and automated.
The switch is referred to as a "gate" when abstracted to mathematical form. In the philosophy of logic, operational arguments are represented as logic gates. The use of electronic gates to function as a system of logical gates is the fundamental basis for the computer—i.e. a computer is a system of electronic switches which function as logical gates.
http://en.wikipedia.org/wiki/Switch
2)A network switch (or just switch) is a networking device that performs transparent bridging (connection of multiple network segments with forwarding based on MAC addresses) at up to the speed of the hardware. Common hardware includes switches, which can connect at 10, 100, or 1000 megabits per second (Mbit/s), at half or full duplex. Half duplex means that the device can only send or receive at any given time, whereas full duplex can send and receive at the same time. The use of specially designed expansion also makes it possible to have large numbers of connections utilizing different mediums of networking, including Ethernet, Fibre Channel, ATM, 802.11, to name frequently used technologies.
http://en.wikipedia.org/wiki/Network_switch
Hub
A common connection point for devices in a network. Hubs are commonly used to connect segments of a LAN. A hub contains multiple ports. When a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can see all packets.
http://www.webopedia.com/TERM/h/hub.html
Hope this helps a little!!!