Main purpose
Although I'm sure that the JWST will be used to make observations of many objects in our solar system I rather suspect that it will spend the majority of its time observing very distant objects where, due to their red-shift, a lot of the info in which we're interested will have been shifted down to the IR.