Many birds like to nest in natural hollows in trees, but these take a long time to form naturally. By building a nesting box, you are mimicking these natural hollows, and contributing to the conservation of local wildlife.
You can find some examples of how to build a nesting box here and here.
Post a photo of your nesting box when you're done!
Image: Rafael M @ Flickr