Menschmaschine is right, caustic soda is the old fashioned name for sodium hydroxide. Sodium hydroxide (NaOH) is a very strong base, very good at dissolving proteins and fatty substances because it chemically attacks them and breaks them down to water soluble pieces. This is why it is the main ingredient in drain cleaners. It will do the same to your skin or your eyes in particular, so if you must use it, wear good rubber gloves and better eye protection. NaOH is also hard to rinse off of surfaces (or out of eyes), which is why sometimes pro brewers use potassium hydroxide (KOH). Even though KOH is less aggressive, it is safer to handle and easier to rinse off. You can get a KOH solution at your LHBS, it's called Beer Line Cleaner.
Dishwasher detergent does not contain sodium hydroxide, it contains sodium carbonate and sodium silicate, much milder and safer bases. I use a lot of this in my brewery cleaning for the reasons Grimsawyer mentioned. I use the cheapo unscented brands from the grocery store.
Unless you are familiar with handling hazardous chemicals, I would advise against using sodium hydroxide. The other options are safer and easier to handle and will do as good a job.