servlet config and servlet context



can anyone tell me in easy language and with goodexamples why
servletconfig and servletcontext are used.

.