While we can't say with any degree of certainty what it was for, we can say that it wasn't constructed for any casual purpose. Only something very important to the ancients would have been worth the effort and investment that it took to construct Stonehenge.