Not everybody is a sound sleeper. For some, the slightest bit of outside noise can cause the loss of sleep. There is no reason that you need to lose sleep due to this outside noise, though. Here is how you can block out noise at night.
Keep your windows closed whenever possible. This may be more difficult during the summer months, especially if you don't have central air. During the summer, try to close your bedroom windows and leave the other ones open.
Run a loud fan in your bedroom at night. You can do this at all times of the year. When colder weather comes, simply point the fan away from your bed or even towards the opening of your bedroom. This way, your room will not get too cold.
Use a humidifier during the night. This will block out noise in the same way that a fan will. It is also useful if you are suffering for a cold or you simply want to add more moisture to the air. A humidifier is an easy way to combat dry skin.
Keep a TV or radio on during the night. This won't block the noise out as much as a fan will but it will give you something to concentrate on. If you're listening to a ballgame on the radio, for example, you'll be less likely to notice any random noises coming from outside.
Buy a noise machine and run those when you are attempting to sleep. These are nice because you can choose a variety of other sounds to hear other than those that come from the outside. Many people prefer the sound of waves crashing to the regular outdoor noises that keep them awake at night.